$OpenBSD: patch-rw_Imakefile,v 1.1 2010/08/23 17:25:47 jasper Exp $
--- rw/Imakefile.orig	Mon Aug 23 18:39:05 2010
+++ rw/Imakefile	Mon Aug 23 18:39:09 2010
@@ -34,7 +34,7 @@ XPM_SRC = readWriteXPM.c
 XPM_OBJ = readWriteXPM.o
 
 SGI_SRC = readWriteSGI.c
-#ifdef SGIArchitecture
+#if defined(SGIArchitecture) && !defined(OpenBSDArchitecture)
 SGI_OBJ = readWriteSGI.o
 SGI_DEF = -DHAVE_SGI
 #endif
